<%@ page contentType="text/html;charset=UTF-8" %>
<script type="text/javascript">
function getQueryString(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
    var r = window.location.search.substr(1).match(reg);
    if (r != null) return unescape(r[2]); return null;
}
function fromPortalHideReturnButton() {
	var value = $("#btnCancel").val();
	
	var source = getQueryString("url_from_sys");
	if(typeof(value) != "undefined" && value.indexOf("返") != -1 && value.indexOf("回") != -1){
		if(source!=null && source == 'portal'){
			$("#btnCancel").hide();
		}
	}
	
}
fromPortalHideReturnButton();
</script>